package com.zmn.uac.common.constant;

/**
 * 类描述：
 *
 * @author xujie
 * @since 2021/06/17 10:05
 */
public class BaiduUrlConstant {

    /**
     * 获取百度小程序的 accessToken url地址
     */
    public static final String BAIDU_ACCESS_TOKEN_URL = "https://openapi.baidu.com/oauth/2.0/token?grant_type=client_credentials&client_id=%s&client_secret=%s&scope=smartapp_snsapi_base";

    /**
     * 百度小程序的session url
     */
    public static final String CODE_2_SESSION_URL = "https://spapi.baidu.com/oauth/jscode2sessionkey?code=%s&client_id=%s&sk=%s";

}
